package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

/**
* @author 22096
* @description 针对表【worker_certification_audit(服务人员认证审核表)】的数据库操作Service
* @createDate 2024-12-03 09:41:19
*/
public interface WorkerCertificationAuditService extends IService<WorkerCertificationAuditResDTO> {

    /**
     * 审核服务人员认证分页查询
     * @param dto
     * @return
     */
    PageResult<WorkerCertificationAuditResDTO> pageQuery(WorkerCertificationAuditPageQueryReqDTO dto);

    /**
     * 审核服务人员认证信息
     * @param id
     * @param certificationStatus
     * @param rejectReason
     */
    void audit(Long id, Integer certificationStatus, String rejectReason);

}
